Name :Additive operations

Symbol :ADD

Illustrate:

    Add the first input to the second input and the result is assigned to the output OUT.

Image:

Parameter:

Parameter Statement Type Description
IN1 Input INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME
The first input value
IN2 Input INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME
The second input value
OUT Output INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME
Output value

Example:

LD:

ST:



Interpretation:

parameter operandvalue
IN1TagIn1Enter a value:10
IN2TagIn2Enter a value:20
OUTTagOutOutput value:30
    IN1 and IN2 input INT type data, and ADD outputs the additive calculation result.